
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>2019404146员工管理系统</title>
	<link rel="stylesheet" href="css/bootstrap.css">
	<script src="js/jquery-3.4.1.js"></script>
	<script src="js/bootstrap.js"></script>
	<style>
		#from{padding: 20px;}
#from input{width: 300px;line-height: 25px;}
#style input{width: 50px;}
#sub{text-align: center;margin: 15px 0 0 0;}
	</style>
</head>
<body>
	<div style="width: 35%;height: auto;background-color: antiquewhite;margin: auto;" id="from">
	<form action="bbssave.php?id=<?php  echo $one['id']; ?>" method="POST">
	<p>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：<input type="text" name="name" value="<?php  echo $one['name']; ?>"></p>
	<p>部&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;门：<input type="text" name="dep" value="<?php  echo $one['dep']; ?>"></p>
				<p id="style">头&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;像:
				<input type="radio" name="img" value="images/1.jpg" 
					<?php
				     if ($one['img']=='images/1.jpg')  echo  'checked="checked"';
				    ?>/><img src=" images/1.jpg" alt="" />
			<input type="radio" name="img" value="images/2.jpg" 
					<?php
				     if ($one['img']=='images/2.jpg')  echo  'checked="checked"';
					?>/><img src=" images/2.jpg" alt="" />
					<input type="radio" name="img" value="images/3.jpg" 
					<?php
				     if ($one['img']=='images/3.jpg')  echo  'checked="checked"';
					?>/><img src=" images/3.jpg" alt="" />
					<input type="radio" name="img" value="images/4.jpg" 
					<?php
				     if ($one['img']=='images/4.jpg')  echo  'checked="checked"';
				    ?>/><img src=" images/4.jpg" alt="" />
			</p>
		<p>出生年月：<input type="date" name='f_date' value="<?php  echo $one['f_date']; ?>"></p>
		<p>入职时间：<input type="date" name='l_date' value="<?php  echo $one['l_date']; ?>"></p>
		<p id="sub">
		<input class="btn" type="submit" value="保存修改" />
	</p>
	<div class="close" onclick="javascript:window.location.href='index.php'"></div>
	</form>
	
</div>
	
</body>
</html>